package cn.neusoft.dao;

import cn.neusoft.query.BaseQuery;

import java.sql.SQLException;
import java.util.List;

/**
 * 分页查询
 * @param <T>
 */
public interface IPageDao<T> {
    public int getCount(BaseQuery baseQuery) throws SQLException;
    public List<T> getByPage(BaseQuery baseQuery) throws SQLException;
}
